require('../../$res/plugin/extend/piclook');
require('../../$res/plugin/extend/css/piclook.less');
module.exports = {
    template: require("./tpl/loolPic.htm"),
    props: {
        name: String,
        data: ''
    },
    data: function () {
        return {
            tag: new Date().getTime()
        }
    },
    computed: {
        pic: function () {
            return [this.data]
        }
    },
    mounted: function () {
        var $this = this;
        var ele = '#' + $this.name + $this.tag;
        $(ele).picLook();
    }
};
